<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:p="http://primefaces.org/ui">
	
<h:head>
	<ui:insert name="head" />
	<link rel="stylesheet" type="text/css" href="#{request.contextPath }/css/style.css"/>
	<link rel="stylesheet" type="text/css" href="#{request.contextPath }/css/reset.css"/>
	
	<meta content="IE=EmulateIE7" http-equiv="X-UA-Compatible" />
	<title>#{msg['label.title.sistema']}</title>
</h:head>
<body>

	<h:panelGroup layout="block" id="container">
	
		<p:growl id="msgSistemaGeral" showDetail="false" life="5000" globalOnly="true"/>
		
		<h:panelGroup layout="block" id="cabecalho">
			<h:panelGroup layout="block" class="ladoE">
				<h:form prependId="false">
					<h:graphicImage value="/img/btn_face.png" />
					<p:spacer width="20" />
					<h:graphicImage value="/img/btn_twitter.png" />
					<p:spacer width="20" />
					<h:commandLink action="/pages/frmLoginAdmin.faces?faces-redirect=true">
						<h:graphicImage value="/img/btn_login.png" />
					</h:commandLink>
					<p:spacer width="20" />
					<h:commandLink action="#{empresaAction.iniciarCadastroEmpresa}">
						<h:graphicImage value="/img/btn_cadastre-se.png" />			
					</h:commandLink>
					<p:spacer width="20" />
				</h:form>
			</h:panelGroup>
			<h:panelGroup layout="block" class="ladoD">
				<p:spacer />
			</h:panelGroup>
		</h:panelGroup>
		
		<h:panelGroup layout="block" styleClass="bodyLadoE">
			<p:spacer height="1" />
		</h:panelGroup>
		<h:panelGroup layout="block" styleClass="bodyCentro">
			<h:form prependId="false">
				<h:panelGroup layout="block" id="menuBar">
					<h:commandLink action="/home.faces?faces-redirect=true">
						<h:graphicImage value="/img/mini_logo.png" />			
					</h:commandLink>
				</h:panelGroup>
			</h:form>
			<ui:insert name="body" />
		</h:panelGroup>
		<h:panelGroup layout="block" styleClass="bodyLadoD">
			<p:spacer height="1" />
		</h:panelGroup>
		
		<h:panelGroup layout="block" styleClass="clearAll">
		</h:panelGroup>
		
		<h:panelGroup layout="block" id="rodape">
		
			<h:panelGroup layout="block" class="ladoE">
				<p:spacer />
			</h:panelGroup>
			
			<h:panelGroup layout="block" class="centro">
				#{msg['label.direito.reservado']}
				#{msg['label.quem.somos']}
				#{msg['label.hifen']}
				#{msg['label.entre.contato']}
				#{msg['label.hifen']}
				#{msg['label.termos.uso']}
			</h:panelGroup>
			
			<h:panelGroup layout="block" class="ladoD">
				
			</h:panelGroup>
			
		</h:panelGroup>
		
	</h:panelGroup>
	
	<p:ajaxStatus>  
	    <f:facet name="start">
	    	<h:panelGroup layout="block" style="position: absolute; float:right; top: 0px; right: 0px !important; z-index: 99999; padding:5px;">
	    		<h:graphicImage value="/img/loading.gif" />
	    	</h:panelGroup> 
	    </f:facet>  
	    <f:facet name="complete">  
	        <h:outputText value="" />  
	    </f:facet>  
	</p:ajaxStatus>  

</body>
</html>